package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.Menu;

import java.util.List;

/**
 * @author ：wanghao
 * @date ：Created in 2020/12/6
 * @description ：菜单管理服务层接口
 * @version: 1.0
 */
public interface MenuService {
    public PageResult findPage(QueryPageBean queryPageBean);
    public List<Menu> findOneAll();
    public void add(Menu menu);
    public Menu findById(Integer id);
    public void edit(Menu menu);
    public void deleteById(Integer id);
    public List<Menu> findAll();
}
